/*
package com.wwy.monitor.config;

import com.alibaba.ais.skyline.client.bootstrap.SkylineClient;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@EnableConfigurationProperties
public class MyConfiguration {
    @Value("${skyline.account}")
    private String account;

    @Value("${skyline.accessKey}")
    private String accessKey;

    @Value("${skyline.appName}")
    private String appName;

    @Value("${skyline.hsfVersion}")
    private String hsfVersion;

    @Bean("skylineClient")
    public SkylineClient config() {
        SkylineClient client = new SkylineClient();
        client.setAccount(account);
        client.setAccessKey(accessKey);
        client.setAppName(appName);
        client.setHsfVersion(hsfVersion);
        return client;
    }
}
*/
